# coding=utf-8
x, y = 4, 3
a = (x < y and [x] or [y])[0]

print x < y
print x < y and [x]
print x < y and [x] or [y]


print [x] or [y]

print True and [0]
print False and [0] or [7]


print 0 and 1
print 1 and 2

print 0 or 1
print 1 or 2
print '--------------------------'
print 0 & 1
print 1 & 2